Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

115
Vistas
Line break is breaking API data set. Can I convert to safe character at once? | VS Code / Javascript

Can line-break break the code? If so, how can I solve it? I have more than 100 javascript API data sets like the one below.

{
    ID: 1,
    post_title: "ABC PLACE",
    subtitle: "",
    image: {
      full: { url: Images.abcplace },
      thump: { url: Images.abcplace },
    },
    location: {
      locId: 35,
      locName: "ABC",
      latitude: 42.11111,
      longitude: -73.11111,
    },
    address: "",
    phone: "",
  },

And I found that bracket color paring stopped coloring from the last 2-3 sets in VS code like thisscreenshot

I finally found that some of the line-break are interrupting. If I delete one line-break, one bracket color comes back. If I delete 2, 2 colors come back. Commenting out does not solve. But If I add the line-break back using Prettier, the color is gone again. It does compile without any problem, but I really want to know what is going on. I also used this website to check any hidden characters, but there is only CR LF which is a line break.

I appreciate any suggestions or comments!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda